package com.cnpc.rightslogan.service.impl;

import com.cnpc.rightslogan.mapper.DictionaryMapper;
import com.cnpc.rightslogan.pojo.Dictionary;
import com.cnpc.rightslogan.service.IDictionaryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class DictionaryServiceImpl implements IDictionaryService {

    @Resource
    private DictionaryMapper dictionaryMapper;

    @Override
    public List<Dictionary> getDictionaryList() {
        return dictionaryMapper.getDictionaryList();
    }
}